<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<script src="resources/cookies-test-pre.js"></script>
<script>
if (window.testRunner) {
    testRunner.dumpAsText();
    testRunner.waitUntilDone();
}
clearAllCookies();

function doRedirect()
{
  window.location = "http://127.0.0.1:8000/cookies/resources/set-cookie-on-redirect.php?step=1";
}
</script>

<body onload="doRedirect()">
<!-- Test for https://bugs.webkit.org/show_bug.cgi?id=64575 -->
<!-- For this test to pass you should see "PASSED: Cookie successfully set" -->
</body>
</html>
